package chess;


public class ReadyStateMSG implements IMSG {
	private String status;
	private String turn;
	public ReadyStateMSG(String status,String turn){
			this.status = status;
			this.turn = turn;
	}
	@Override
	public String toXML() {
		StringBuffer sb = new StringBuffer();
		sb.append("<message for=\"readystate\"");
		sb.append(" status=\""+this.status+"\"");
		sb.append(" turn=\""+this.turn+"\"");
		sb.append("/>");
		return sb.toString();
	}

}
